package com.vanke.devops.dal.model;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;

import com.vanke.devops.dal.base.BaseModel;
import java.math.BigDecimal;
import java.util.Date;

import java.io.Serializable;

/**
 * <p>
 * 应用表
 * </p>
 *
 * @author 陈景阳
 * @since 2018-03-12
 */
public class Applications extends BaseModel {

	/**
	 * 应用名称
	 */
	private String name;
	/**
	 * 前端地址
	 */
	@TableField(value="front_url")
	private String frontUrl;
	/**
	 * 后端地址
	 */
	@TableField(value="back_url")
	private String backUrl;
	/**
	 * 子应用ID
	 */
	private Integer child;
	/**
	 * 环境：dev、test、demo、prod
	 */
	private String env;


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFrontUrl() {
		return frontUrl;
	}

	public void setFrontUrl(String frontUrl) {
		this.frontUrl = frontUrl;
	}

	public String getBackUrl() {
		return backUrl;
	}

	public void setBackUrl(String backUrl) {
		this.backUrl = backUrl;
	}

	public Integer getChild() {
		return child;
	}

	public void setChild(Integer child) {
		this.child = child;
	}

	public String getEnv() {
		return env;
	}

	public void setEnv(String env) {
		this.env = env;
	}

	@Override
	protected Serializable pkVal() {
		return getId();
	}

}
